<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>
<table>
    <form name="payFormCcard" method="post" action="https://test.paydollar.com/b2cDemo/eng/payment/payForm.jsp">
        <tr>
            <td align="center" colspan="2">连接到支付页面所需参数</td>
        </tr>
        <tr>
            <td align="right">merchantId:</td>
            <td align="left"><input type="text" name="merchantId" value="${(merchantId)!}"></td>
        </tr>
        <tr>
            <td align="right">amount:</td>
            <td align="left"><input type="text" name="amount" value="${(amount)!}"></td>
        </tr>
        <tr>
            <td align="right">orderRef:</td>
            <td align="left"><input type="text" name="orderRef" value="${(orderRef)!}"></td>
        </tr>
        <tr>
            <td align="right">currCode:</td>
            <td align="left"><input type="text" name="currCode" value="${(currCode)!}"></td>
        </tr>
        <tr>
            <td align="right">successUrl:</td>
            <td align="left"><input type="text" name="successUrl" value="${(successUrl)!}"</td>
        </tr>
        <tr>
            <td align="right">failUrl:</td>
            <td align="left"><input type="text" name="failUrl" value="${(failUrl)!}"</td>
        </tr>
        <tr>
            <td align="right">cancelUrl:</td>
            <td align="left"><input type="text" name="cancelUrl" value="${(cancelUrl)!}"</td>
        </tr>
        <tr>
            <td align="right">payType:</td>
            <td align="left"><input type="text" name="payType" value="${(payType)!}"</td>
        </tr>
        <tr>
            <td align="right">lang:</td>
            <td align="left"><input type="text" name="lang" value="${(lang)!}"</td>
        </tr>
        <tr>
            <td align="right">mpsMode:</td>
            <td align="left"><input type="text" name="mpsMode" value="${(mpsMode)!}"</td>
        </tr>
        <tr>
            <td align="right">payMethod:</td>
            <td align="left"><input type="text" name="payMethod" value="${(payMethod)!}"</td>
        </tr>


        <tr>
            <td align="center" colspan="2">连接至支付页面所需的任选参数</td>
        </tr>
        <tr>
            <td align="right">secureHash:</td>
            <td align="left"><input type="text" name="secureHash" value="${(secureHash)!}"</td>
        </tr>
        <tr>
            <td align="right">remark:</td>
            <td align="left"><input type="text" name="remark" value="${(remark)!}"</td>
        </tr>
        <tr>
            <td align="right">redirect:</td>
            <td align="left"><input type="text" name="redirect" value="${(redirect)!}"</td>
        </tr>
        <tr>
            <td align="right">oriCountry:</td>
            <td align="left"><input type="text" name="oriCountry" value="${(oriCountry)!}"</td>
        </tr>
        <tr>
            <td align="right">destCountry:</td>
            <td align="left"><input type="text" name="destCountry" value="${(destCountry)!}"</td>
        </tr>


</table>
</form>
<script type="text/javascript">

    function submitPayment() {
        document.payFormCcard.submit();
    }

    submitPayment();
</script>
</body>
</html>